Use threaded workers in the chef production Procfile

Dominik Sander 11 jaren geleden
bovenliggende
commit
ec0ec300c5
1 gewijzigde bestanden met toevoegingen van 1 en 3 verwijderingen
  1. 1 3
      deployment/site-cookbooks/huginn_production/files/default/Procfile

+ 1 - 3
deployment/site-cookbooks/huginn_production/files/default/Procfile

@@ -1,4 +1,2 @@
1 1
 web: sudo bundle exec unicorn_rails -c config/unicorn.rb -E production
2
-schedule: sudo RAILS_ENV=production bundle exec rails runner bin/schedule.rb
3
-twitter: sudo RAILS_ENV=production bundle exec rails runner bin/twitter_stream.rb
4
-dj: sudo RAILS_ENV=production bundle exec script/delayed_job run
2
+jobs: sudo RAILS_ENV=production bundle exec rails runner bin/threaded.rb